home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
C for beginners.adf
/
source
/
error_msg.c
< prev
next >
Wrap
C/C++ Source or Header
|
1978-01-17
|
295b
|
18 lines
/* error.c 21 */
char *error[] =
{
"Everything OK, no error!",
"Wrong key activated!",
"Please insert Diskette!"
};
main()
{
/* Display all error messages */
int i, error_msg = sizeof(error) / sizeof(char *);
for(i = 0; i < error_msg; i++)
printf("Error Number %d: \"%s\"\n", i, error[i]);
}